var status = -1;

function action(g, d, c) {
    var b = cm.getEventManager("副本_金海滩_Boss");
    var a = b.getInstance("副本_金海滩_Boss");
    var f = b.getMapFactoryMap(cm.getMapId());
    var e = b.getMonster(3401011);
    a.registerMonster(e);
    f.spawnMonsterOnGroundBelow(e, new java.awt.Point(-174, -169));
    if (!cm.isQuestFinished(2975)) {
        cm.fieldEffect_ScreenMsg("Map/Effect.img/goldBeach/blackSlimeBoss")
    }
    cm.dispose()
}

function start() {
    status = -1;
    action(1, 0, 0)
};